/**
 * 
 */
package com.base.myproject.client.ui.Model;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

/**
 * @author zgw
 *2009-7-11 下午09:42:59
 * javazgw@gmail.com
 */
public class Menuitem extends BaseTreeModel {

	  public Menuitem() {

	  }

	  public Menuitem(String name) {
	    set("menucode", name);
	  }

	  public Menuitem(String menucode, String menuname) {
	    set("menucode", menucode);
	    set("menuname", menuname);
	   
	  }

	  public String getMenucode() {
	    return (String) get("menucode");
	  }

	  public String getMenuname() {
	    return (String) get("menuname");
	  }


	  public String toString() {
	    return getMenuname();
	  }
	}
